package com.example.user;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "UserService")
public interface UserFeignClient {
    @GetMapping("getUserById/{id}")
    String getUserById(@PathVariable("id") Long id);

    @GetMapping("/test")
    String test();
}
